package com.holyn.guofang.model.webhttp.wo;

import java.util.List;

/**
 * Created by Holyn on 2017/8/14.
 */

public class CouponInfoWo extends StatusWo{
    private static final long serialVersionUID = 11112222L;


    /**
     * period : {"id":12,"beginTime":"2017-06-01 00:00:00","endTime":"2017-09-01 00:00:00","name":"优 惠A","decribe":"优 惠 活 动","type":2}
     * data : [{"id":123,"name":"A优 惠 卡","decribe":"优 惠A","discountRate":80},{"id":213,"name":"B优 惠 卡","decribe":"优 惠B","discountRate":75}]
     */

    private PeriodBean period;
    private List<DataBean> data;

    public PeriodBean getPeriod() {
        return period;
    }

    public void setPeriod(PeriodBean period) {
        this.period = period;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class PeriodBean {
        /**
         * id : 12
         * beginTime : 2017-06-01 00:00:00
         * endTime : 2017-09-01 00:00:00
         * name : 优 惠A
         * decribe : 优 惠 活 动
         * type : 2
         */

        private int id;
        private String beginTime;
        private String endTime;
        private String name;
        private String decribe;
        private int type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDecribe() {
            return decribe;
        }

        public void setDecribe(String decribe) {
            this.decribe = decribe;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    public static class DataBean {
        /**
         * id : 123
         * name : A优 惠 卡
         * decribe : 优 惠A
         * discountRate : 80
         */

        private int id;
        private String name;
        private String decribe;
        private int discountRate;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDecribe() {
            return decribe;
        }

        public void setDecribe(String decribe) {
            this.decribe = decribe;
        }

        public int getDiscountRate() {
            return discountRate;
        }

        public void setDiscountRate(int discountRate) {
            this.discountRate = discountRate;
        }
    }
}
